package cn.tedu.antconlonysever.contract.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("t_customer_contract")
public class Contract implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String cusName;
    private String title;
    private BigDecimal contractMoney;
    private LocalDateTime gmtCreate;
    /**
     * 合同开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date contractDate;
    /**
     * 合同结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date contractEndDate;
    private String remark;
    private String contractType;
    private String empName;
    private String partnerName;
    private Integer cusId;
    private Integer empId;
    private Long orderId;
    private String orderNumber;
    private LocalDateTime gmtModified;




}
